class A{
		private int counter = 0;
		
		public static int getInstanceCount(){
			return counter;//nao compila, metodo static tentando acessar uma variavel nao static
		}
		public A(){
			counter++;
		}
}